]> dgit.raspbian.org Git - gnome-shell.git/commit
shell: Use one-shot idle/timeout functions
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Oct 2025 16:57:20 +0000 (17:57 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 29 Jan 2026 15:16:04 +0000 (15:16 +0000)
commit3a1d28c866e1efba695f4d9b724f7e1c732d254f
treecdb34bfc4f9ce144286877185d7102874d44708a
parent0f90346872477d91a3e0be605a55bca1d163d735
shell: Use one-shot idle/timeout functions

GLib added one-shot variants of the idle/timeout functions a while ago.

While they don't save a lot of code, they serve as a clear marker that
the callback is only invoked once.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3947>
src/shell-app-cache.c
src/shell-app-usage.c
src/shell-edge-drag-gesture.c
src/shell-perf-helper.c
src/shell-polkit-authentication-agent.c